
<ul class="nav nav-tabs" id="myTab">
  <li class="active"> <a data-toggle="tab" href="#tab1"> <i class="green icon-home bigger-110"></i> 订单信息 </a> </li>
  <li class=""> <a data-toggle="tab" href="#tab2"> 商品列表  </a> </li>
   <li class=""> <a data-toggle="tab" href="#zhfu"> 支付记录  </a> </li>

</ul>
<div class="tab-content">
  <div id="tab1" class="tab-pane active">
    <div class="tab-content">
      <table class="table table-striped table-bordered " >
        <tbody>
          <tr>
            <th width="120"> 收件人 </th>
            <td>{$_data.name}  </td>
         
          </tr>
          
           <tr>
            <th width="120"> 电话 </th>
            <td>{$_data.tel} </td>
         
          </tr>
          
          
          
          <tr>
            <th width="120"> 地址 </th>
            <td>{$_data.address}</td>
         
          </tr>
        <tr>
            <th width="120"> 快递 </th>
            <td>
            
          
          {$_data.kuaidi}
            
            </td>
         
          </tr>
          

          <tr>
            <th width="120"> 购买日期 </th>
            <td>{$_data.inputtime|date="Y-m-d H:i:s",###}</td>
           
          </tr>
          
             <tr>
            <th width="120"> 总费用 </th>
            <td>￥{$_data.price_sum}</td>
           
          </tr>
          
        
      
          
            <tr>
            <th width="120"> 买家留言 </th>
            <td>{$_data.desc}</td>
         
          </tr>
          
          
          
         
        </tbody>
      </table>
    </div>
  </div>
  <div id="tab2" class="tab-pane">
   
   <table class="table table-striped table-bordered " >
        <tbody>
           <tr>
          <th >商品</th>
          <th >编号</th>
          <th >作者</th>
          <th >等级</th>
          <th >尺寸</th>
          <th>外框</th>
           <th>数量</th>
           <th>价格</th>

        </tr>
        
        <volist name="p_list" id="v">
             <tr>
                 <td>{$v.product_title}</td>
                 <td>{$v.p_id}</td>
                 <td>{$v.author}</td>
                 <td>{$v.dengji}</td>
                 <td>{:F("Var_chicun")[$v['chicun']]["name"]}</td>
                 <td>{:F("Var_waikuang")[$v['waikuang']]["name"]}</td>
           <td>{$v.num}</td>
                 <td>{$v.price}</td>
        </tr>
        
        </volist>
          
      
        </tbody>
      </table>
   
   
  </div> 
  
  <div id="zhfu" class="tab-pane">
   
<table class="table table-striped table-bordered " >
        <tbody>
         <tr>
            <th width="120"> 订单号 </th>
            <td>{$_data.order_sn} </td>
         
          </tr>
           <tr>
          <td >支付方式</td>
          <td> 
             <switch name="_data.pay_type">

                 <case value="weixin">微信支付</case>
                 <case value="qianbao">钱包支付</case>


             </switch>
              </td>
        </tr>

         <tr>
             <td >优惠券</td>
             <td>
                 {$yhj.title}
             </td>
         </tr>


        <tr>
          <td >支付编号</td>
          <td> 
              {$_data.payment_trade_no}
              </td>
        </tr>
        <tr>
          <td >支付者账号</td>
          <td>{$_data.payment_buyer_email}</td>
        </tr>
        <tr>
          <td >支付时间</td>
          <td>{$_data.payment_notify_time}</td>
        </tr>
        <tr>
          <td >会员编号</td>
          <td>{$_data.uid}</td>
        </tr>
       
          
      
        </tbody>
      </table>
   
   
  </div>

  
</div>
